﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BonjourHotel.Core.Controls;
using Telerik.Web.UI;

namespace BonjourHotel.Application.Controls
{
    public partial class MainMenu : BaseUserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ApplyLocalization();
            }
        }

        private void ApplyLocalization()
        {
            //Menu1.Items.Add(new RadMenuItem(GetLocaleStringResource("MainMenu.FirstLevel.Configuration")));
           // Menu1.Items[0].Items.Add(new RadMenuItem(GetLocaleStringResource("MainMenu.Configuration.Hotels"), "~/Application/Configuration/Hotels/Default.aspx"));
        }
    }
}